package com.adcc.ags.msgStore.common;

/**
 * 常量类
 */
public class Constant {
    //数据库尝试连接次数
    public static final int RETRYATTEMPTS = 2;
    // 获取连接超时时间
    public static final int CONNECTIONTIMEOUT = 200;
    // 登录连接时间
    public static final int LOGINTIMEOUT = 200;
    // traffic 信息关键字
    // The target database table name
    public static final String TRAFFIC_TABLE_NAME="\"T_TRAFFIC\"";
    public static final String TRAFFIC_ID_KEY ="ID";
    public static final String TRAFFIC_DATETIME_KEY ="datetime";
    public static final String TRAFFIC_MSGTYPE_KEY ="type";
    public static final String TRAFFIC_SENDER_KEY ="sender";
    public static final String TRAFFIC_RECEIVER_KEY ="receiver";
    public static final String TRAFFIC_RAWMSG_KEY ="rawMsg";
    public static final String TRAFFIC_STATE_KEY ="state";
    public static final String TRAFFIC_ERROR_CODE_KEY ="errorCode";
    public static final String TRAFFIC_MSGID_KEY ="id";
    public static final String TRAFFIC_ERROR_USER_ID_KEY ="errorUser";
    //message split
    public static final int MESSAGE_SPLIT = 4000;
    public static final String TRAFFIC_SEQUENCE_KEY = "SEQ_TRAFFIC.NEXTVAL";
    public static final String ERROR_CODE_KEY = "error";
    public static final String IS_EXIT_KEY = "isExit";
    //akka receiver
    public static final String STRING_RECEIVER_ACTOR_KEY1 = "transfer";
    public static final String STRING_RECEIVER_ACTOR_KEY2 = "queue";
}
